# filename: example8_14.py

class StudentClass:
    count = 0

    def __init__(self, name):
        self.name = name
        StudentClass.count += 1

    def __len__(self):
        return len(self.name)


stu1 = StudentClass("Zhang San")
print(stu1.__len__())
